package com.sanxiau.dormitory.yang.mapper;

import com.sanxiau.dormitory.yang.entity.LoginIn;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface LoginMapper {
    public LoginIn userLogin(String user_name, String user_pwd);
    public LoginIn queryUserByTel(String link_tel);
    public LoginIn queryUserByName(String user_name);
    public int updateUser(LoginIn loginIn);
    public int registerUser(LoginIn loginIn);
    public LoginIn queryUserByID(int user_id);
}
